package com.uroad.jilinpda.webservice;


import com.uroad.jilinpda.util.AppUtils;

import java.util.HashMap;

public class QueryWS extends BaseWS{

    /**
     * 发行记录查询 listorder
     */
    public static String listorder = AppUtils.isDebug() ? "/eaaspush/queryordertest/listorder" : "/eaaspush/queryorder/listorder";

    public static HashMap listorderParams(String ticketid, String index, String size
            ,String starttime, String endtime, String numberplate, String titletype) {
        HashMap params = new HashMap();
        params.put("ticketid", ticketid);
        params.put("index", index);
        params.put("size", size);
        params.put("starttime", starttime);
        params.put("endtime", endtime);
        params.put("numberplate", numberplate);
        params.put("titletype", titletype);
        return params;
    }


    /**
     * 取消
     */
    public static String cancel   = "/eaaspush/queryorder/ordercancel";

    public static HashMap cancelParams(String orderno) {
        HashMap params = new HashMap();
        params.put("orderno", orderno);

        return params;
    }

    /**
     * 退款
     */
    public static String refund   = "/eaaspush/queryorder/refund";

    public static HashMap refundParams(String ticketid, String orderno, String handleid) {
        HashMap params = new HashMap();
        params.put("ticketid", ticketid);
        params.put("orderno", orderno);
        params.put("handleid", handleid);

        return params;
    }

}
